package com.framewiki.gpt.dto.response;

import lombok.Data;

import java.util.List;

/**
 * @ProjectName: framewiki-gpt
 * @Package: com.framewiki.gpt.dto
 * @ClassName: ChatCompletionResponseDto
 * @Description: 响应
 * @Author: xiaLin
 * @Date: 2023/6/16 23:18
 * @Version: 1.0
 */
@Data
public class ChatCompletionResponseVo {
  /**
   * ID
   */
  private String id;

  /**
   * 返回的内容
   */
  private String object;

  /**
   * 模型
   */
  private String model;

  /**
   * 创建时间
   */
  private long created;

  /**
   * 用户
   */
  private String user;

  /**
   * 选择
   */
  private List<ChatCompletionChoiceVo> choices;

  /**
   * 用量
   */
  private ChatCompletionUsageVo usage;
}
